Skip to content

docs(lab9): security scanning with Trivy and ZAP - #1492

Open
HNS2112 wants to merge 4 commits into
inno-devops-labs:mainfrom
HNS2112:feature/lab9
Open

docs(lab9): security scanning with Trivy and ZAP#1492
HNS2112 wants to merge 4 commits into
inno-devops-labs:mainfrom
HNS2112:feature/lab9

Conversation

@HNS2112

@HNS2112 HNS2112 commented Aug 6, 2026

Copy link
Copy Markdown

Goal

Lab 9 submission: Trivy image/fs/config scans plus SBOM, ZAP baseline scan, security-header fix with regression test and re-scan.

Changes

  • app/handlers.go β€” security headers in the shared request wrapper
  • app/handlers_test.go β€” regression test covering two routes
  • security/ β€” all scanner output, before/after ZAP reports, SBOM
  • submissions/lab9.md β€” report covering Tasks 1–2

Testing

Trivy: OS layer 0 HIGH/CRITICAL, Go stdlib 15 (14 HIGH, 1 CRITICAL), config 27/28 passed.
ZAP: WARN 3 β†’ WARN 1, PASS 64 β†’ 66. Remaining warning is rule 10049 inverted, documented as intentional.
go test -race -count=1 ./... passes; go vet and gofmt clean.

Checklist

  • Title is a clear sentence (≀ 70 chars)
  • Commits are signed (git log --show-signature)
  • submissions/labN.md updated

HNS2112 added 4 commits August 3, 2026 22:31
Signed-off-by: Elvira <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: HNS <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: HNS <239804565+HNS2112@users.noreply.github.com>
Signed-off-by: HNS <239804565+HNS2112@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant